package com.ksd.orm.pug.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ksd.pug.pojo.Permission;
import com.ksd.pug.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface RoleMapper extends BaseMapper<Role>{
    //查询角色对应权限
    List<Permission> findBySysPermissionRoleId(@Param("roleId") Long roleId);
}